Skip to content
On this page

Git Distributed Version Control System

Overview

  • Git is a distributed version control system that allows you to keep track of your code changes, collaborate with others, and manage your codebase. It is used by developers all over the world to manage their projects and keep track of changes.

  • GIt was created by Linus Torvalds in 2005.

  • GIt allows multiple developers to work on the same codebase simultaneously, and tracks changes to the code over time, making it easy to revert to previous versions if necessary.

  • Git can be used to manage other digital artifacts other than source code; however, git will not track changes in binary files at a glandular level.

git intro image

Installing Git

To use Git, you need to first install it on your computer. You can download the latest version of Git from the official website at git-scm.com.

git scm image

Mac Installation

If you have a Mac you may already have Git install. Type "git --version" (without the quotes) in the Terminal and press Enter to check if Git is installed and the version number.

You can also install Git using a package manager like Homebrew, which makes the installation process easier and provides access to updates and other useful packages. To install Git using Homebrew, open the Terminal app and type "brew install git" (without the quotes) and press Enter.

Homebrew Install homebrew if you don't already have it, then: $ brew install git

MacPorts Install MacPorts if you don't already have it, then: $ sudo port install git

Xcode Apple ships a binary package of Git with Xcode.

Windows Installation

git intro image