Git is a distributed Version Control System (VCS) that was created by Linus Torvalds, the creator of the Linux kernel.
The Git workflow involving a remote repository consists of the following steps:
- Pull changes from the remote repository.
- Create or edit files.
- Add the new or changed files to the staging area.
- Store your changes in the git repository, by making a commit.
- Choose an informative commit message. This helps at a later time to find specific commits and to understand the intention of the changes.
- Push your commits to the remote repository to share them with others and be able to access them yourself on a different computer.
- Continue at step 1
Unlike centralized version control systems, Git users can commit new changes, without the need of an internet connection. They can offline and then later push batches of commits at once to a server - like GitHub or Bitbucket.