Git commands for beginners

With multiple people working on a software project, co-ordination sometimes becomes difficult. Git is a version control system (VCS) for tracing changes in computer files and coordinating work on these files. Given below are a few commands that can be commonly used while using this VCS.

Clone remote repo:

Refresh repo for the latest from remote repo:

List all branches:

Switch branch:

Check the status of the current repository:

Add new files:

Browse past commit information:

Browse past commit information by using the one line option:

Check-in changes:

Compare file with past revision:

Reset current branch head (HEAD) to the specified state:

Vijayan J

Thanks for stopping by guys! I'm Vijayan and Techpulse is my beloved brainchild. Currently working as a PHP developer in a digital marketing start-up, I'm overly passionate about not just learning new things but also putting those into practice. I swear by a quote I once came across... 'What separates successful people from unsuccessful people is the former's ability to execute'. Feel free to reach out to me if you have any questions, suggestions or feedback. Hoping to see more of you here!