From 22e33a0c0187fac963b8b0227afdf49e7de2f8b6 Mon Sep 17 00:00:00 2001
From: Laurent Heirendt <laurent.heirendt@uni.lu>
Date: Wed, 25 Mar 2020 09:25:02 +0100
Subject: [PATCH] New card: git installation and setup instructions

---
 .../contribute/git-clients/git-clients.md     |  6 ++----
 .../contribute/install-git/install-git.md     | 20 +++++++++++++++++++
 index.md                                      |  3 ++-
 3 files changed, 24 insertions(+), 5 deletions(-)
 create mode 100644 external/contribute/install-git/install-git.md

diff --git a/external/contribute/git-clients/git-clients.md b/external/contribute/git-clients/git-clients.md
index 8bfc895e..2035e5d2 100644
--- a/external/contribute/git-clients/git-clients.md
+++ b/external/contribute/git-clients/git-clients.md
@@ -8,9 +8,7 @@ redirect_from:
 ---
 # Git clients
 
-## Installation of Git
-
-You can find installers for Windows, MacOS and Linux on the [Git webpage](https://git-scm.com/downloads).
+Installation instructions are provided [here](https://howto.lcsb.uni.lu/?contribute:install-git).
 
 ## GUI clients
 
@@ -30,4 +28,4 @@ There are also several IDEs (integrated development environments) that have git
 * [Visual Studio Code](https://code.visualstudio.com/)
 * [Atom](https://atom.io/)
 * [IntelliJ](https://www.jetbrains.com/idea/)
-* [PyCharm](https://www.jetbrains.com/pycharm/)
+* [PyCharm](https://www.jetbrains.com/pycharm/)
\ No newline at end of file
diff --git a/external/contribute/install-git/install-git.md b/external/contribute/install-git/install-git.md
new file mode 100644
index 00000000..7c0bcf3f
--- /dev/null
+++ b/external/contribute/install-git/install-git.md
@@ -0,0 +1,20 @@
+---
+layout: page
+permalink: /external/contribute/install-git/
+shortcut: contribute:install-git
+redirect_from:
+  - /cards/contribute:install-git
+  - /external/cards/contribute:install-git
+---
+
+# Installation of Git
+
+Several git clients are presented [here](https://howto.lcsb.uni.lu/?contribute:git-clients).
+
+For most of the git clients, `git` is actually required to be installed on the system. You can find installers for Windows, MacOS and Linux on the [Git webpage](https://git-scm.com/downloads).
+
+If you are using Visual Studio Code, and if you want to contribute to a repository hosted on the [LCSB Gitlab](https://git-r3lab.uni.lu), you will need to verify the host key first before you are able to clone or push to a repository. For this, open a terminal (on Linux or macOS) or Git Bash (on Windows), and type:
+```bash
+ssh git@git-r3lab-server.uni.lu -p8022
+```
+Then, press Enter and type `yes`. This will add the git-r3lab server to the known hosts on your system.
\ No newline at end of file
diff --git a/index.md b/index.md
index b7f3824f..cafc03b5 100644
--- a/index.md
+++ b/index.md
@@ -29,6 +29,7 @@ The How-to cards are intended to provide practical guidance in implementing Data
 		<ul>
 			<li><a href="external/contribute/add-edit-card">How to add or edit a howto card</a></li>
 			<li><a href="external/contribute/git-clients">Git clients</a></li>
+			<li><a href="external/contribute/install-git">Installation of Git</a></li>
 			<li><a href="external/contribute/markdown">Markdown</a></li>
 
 		</ul>
@@ -60,4 +61,4 @@ The How-to cards are intended to provide practical guidance in implementing Data
 
 		</ul>
 	</div>
-</div>
+</div>
\ No newline at end of file
-- 
GitLab