Member-only story
Git: All you need to know
In this article I will discuss about Git, its features, how Git works and also will be discussing a list of common Git commands, what each one means and understanding what Git is meant for and some fundamental concepts you need to understand about Git.
And I will also discuss about handling some scenarios which we might face in any projects and closing with what Git best practices one should follow.
What is Git?
Git is a free and open source distributed version control system.
Git is the most commonly used version control system (VCS).
Git’s purpose is to keep track of projects and files as they change over time with manipulations happening from different users.
There are many website that manages projects that use Git like GitHub, GitLab, BitBucket etc.
Git stores information about the project’s progress on a repository. A repository has commits to the project or a set of references to the commits called heads. All this information is stored in the same folder as the project in a sub-folder called .git
There is a .gitignore file, which contains just a list of files to ignore. It can also recognize wildcard characters.