Before you go...

Would you like to recieve updates about upcoming tutorials, new utilities and projects?

Getting Started With Git

June 20, 2020

Working with Git

What is Git?

Git is an open source distrubuted version-control system typically used for tracking changes in source code during software development but it can be used for tracking any project. Adding git to a project allows you to view the project at different stages allowing you to rollback changes create new branches of the project and also makes working with multiple persons on a project easier.

Windows Installation

To install Git for Windows you should download the installer. This will install a git, a bash console, a command line tool and the graphical interface.

MacOS Installation

You can install Git on MacOs with homebrew using the following command:

$ brew install git

Linux Installation

Debian/Ubuntu For the latest stable version for your release of Debian/Ubuntu

# apt-get install git

For the latest stable upstream Git version:

# add-apt-repository ppa:git-core/ppa # apt update; apt install git

Fedora

# yum install git (up to Fedora 21)
# dnf install git (Fedora 22 and later)

Commands for other versions of linux can be found here