In the terminal,
sudo apt-get update sudo apt-get install git
- Download the installer from https://gitforwindows.org
- Run the installer with default options, except:
- Make sure "Git Bash Here" is installed
- Use a more user-friendly editor such as Nano unless you already know Vim
- Right-click on empty space in Windows Explorer to open "Git Bash here". Git Bash is a terminal emulator that uses
- You can use common Linux commands on Git Bash like
TODO: add screenshots
It is also possible to use Git from Windows "Command Prompt", but Git Bash offers more features such as tab completion.
- Download and run the installer from https://git-scm.com/download/mac
- Mac comes with a terminal emulator (in your /Applications/Utilies folder). You can use Git from the terminal directly.
Git is a version control system that tracks the person who writes the code. We need to tell Git who we are.
In the terminal, run
git config --global user.name "Your name" git config --global user.email "Your email"
Your name, use any human-readable name that others understand.
(It does not have to be your GitHub name/account).
Your email, use the email you associated with GitHub.
This will allow your profile picture to display next to your commits.