Git
The Git program
- Windows/MacOS
- Linux
- Download
git
from the official website. - Install
git
by clicking on the executable you've just downloaded. - During the installation, just click
OK
for all the steps as we don't need to use the advanced options, unless you know what you are doing.
Open a terminal and run:
sudo apt update && sudo apt install git -y
To make sure that the installation was successful, open a terminal window and run git -v
.
You should get a version number as an output. If you get an error such as command not found
,
the installation did not work. You can also have to restart your computer to make it work.
If you don't have a Github account yet, it's time to create one! Go to github.com, anc click Sign up. Then follow the instructions to create your account.
Github Desktop
If you're not totally fluent whit the Git command-line interface, you can also download Github Desktop to easily use git commands with a graphical interface.
- Windows/MacOS
- Linux
- Download the software on the official website : desktop.github.com
- Install it and connect it to your Github Account.
- You're done!
Sorry, there is no official package of Github Desktop for Linux. 😢 You can use the other options below instead, or use the unofficial package for linux (follow the instructions here).
If you already know git, you can also use the git manager in VS Code. However we strongly recommend to enrich it by installing the GitLens extension!
Congratulations 🥳
You installed all the programs! Congratulations!