Installing Git
Install on your system
Use your operating system's usual installer or package manager. After installing, open a new terminal window so PATH updates take effect.
Use common install options
- Windows: download Git for Windows from git-scm.com
- macOS:
xcode-select --installor a package manager such as Homebrew - Linux: install with your distro package manager, for example
sudo apt install git
Check the version
Ask Git to print its version. Any recent 2.x release is fine for this course.
git --version
Open a practice folder
Create a folder for experiments so you can try commands without touching real projects.
mkdir ~/git-practice
cd ~/git-practice
Comments
One comment per signed-in account. Comments are saved with this page’s URL.