What is Git?
Git is a DevOps tool used for source code management. It is a open-source version control system used to handle small to very large projects efficiently.
How git works? Architecture of git.
Git allows users to track code changes and manage their project using simple commands. The heart of Git is a repository used to contain a project. A repository can be stored locally or on a website. Git allows users to store several different repositories and track each one independently.
Exaplain Why Git is Distributed?
If two users clone from the hub and both make changes, the first user to push their changes back up can do so with no problems. The second user must merge in the first one's work before pushing changes up, so as not to overwrite the first user's changes.
Explain Git Workflow with image
- List of Top 10 Git commands
- git init
- git clone
- git add
- git commit
- git diff
- git checkout
- git merge
- git remote
- git push
- git pull