Git – Version Control System

Version control system is a software that helps developers to work together and maintain a complete history of their work. Below are the functions of version control system: Allows developers to work simultaneously Does not allow overwriting each other’s changes. Maintains a history of every version. Advantages of Git Git is released under GPL’s open […]

Git – Basic Workflow

Git has three main states that your files can reside in: modified, staged, and committed: Modified means that you have changed the file but have not committed it to your database yet. Staged means that you have marked a modified file in its current version to go into your next commit snapshot. Committed means that the data is […]

Git – Installation

Installing on Windows : There are also a few ways to install Git on Windows. The most official build is available for download on the Git website. Just go to https://git-scm.com/download/win and the download will start automatically. Installing on macOS : You can do this simply by trying to run git from the Terminal the very first […]

Getting Started – First-Time Git Configuration

Now that you have Git on your system, you’ll want to do a few things to customize your Git environment. Git comes with a tool called git config that lets you get and set configuration variables that control all aspects of how Git looks and operates. On Windows systems, Git looks for the gitconfig file in the […]

Getting and Creating Projects

After that current directory converted in git directory and .git file created in this directory. An initial HEAD file that references the HEAD of the master branch is also created. Start a new Git repository for an existing code base Clones a repository into a newly created directory, creates remote-tracking branches for each branch in […]