Common Git Commands
Git can be a pejorative for an unpleasant person. Make your experience with Git a nice one.
There are still developers who don’t use version control! One of the best things about being a developer is being so far ahead of other workers who have to battle against version control in Word (or similar), and live light-years behind the cooperation tools that programmers get to use each and every day.
Prerequisites:
- None
Terminology
Git: Git is a distributed version-control system for tracking changes in source code during software development
Concepts
Index — This is where files are placed that you want to commit to the git repository. Also known as the staging area.
Repositories — A repository is a file location where you store all of the related files for the current project. A local repository resides on your system, a remote repository (generally) lies on a remote machine. A code project can consist of multiple repositories across multiple accounts, but commonly is a repository from a single account. Repositories (also known as Repos) are recommended to be kept under 1GB.