Git is used for Mainly
- Tracking code changes
- Tracking who made changes
- Coding collaboration among many developers across globe
Technically we use git for
- Manage projects with Repositories over cloud/local
- Cloning Projects from remote repositories to get local copy
- Controlling and tracking the code with staging and committing
- Branching is used to work with code for different features of code
- Merge is used to combine the code over multiple features developed in multiple branches
- Pushing the code to remote repository
- Pulling The latest changes/version of copy from the remote repository
- Also, we can rollback to any version of code if something went wrong at particular version of code
Developers mostly uses git because
- It is Open source
- Over 70% of developers use Git!
- Developers can work together from anywhere in the world with branching and merging strategy.
- Developers can see the full history of the project with .
- Developers can revert to earlier versions of a project.