Basic git command to learn


Git allows a team of people to work together, all using the same files. And it helps the team cope with the confusion that tends to happen when multiple people are editing the same files.

There are many ways it can be set up and configured, but at my job, here’s how we use it: when a new employee starts, he downloads all the files from Github, which is an online server we’re all connected to.

To maintain git you must have to learn about some common git command which is very basic but really necessary for your work.

Bellow I am listing Basic git command to learn


To add All Changes Content

To commit

Upload file online

to pull current repository from online

To create branch

Checkout or change branches

Merge a branch with master

For new branch set upstream

For more about git command and branching you can check the following link.

Leave a Reply