Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.
Git can be installed on any operating system.
Here is a basic installation guide.
NOTE: I’ll have a better approach in the next unit, where we’ll install GitHub Desktop after creating a GitHub account and setting up credentials. I think it’s easier that way, but it’s worth mentioning how to install Git separately, too.
macOS
Using Homebrew, you can run:
brew install git
Windows
Download and install Git for Windows.
Linux
Use the package manager of your distribution to install Git.
For example, run this on Ubuntu:
sudo apt update
sudo apt install git
Using this method, you have to set your name and email in the terminal using these two commands:
git config --global user.name "your name"
git config --global user.email "your@email.com"
Make sure you enter your name and email, not those fake ones!