Git Hub Commands
Git is the free and open source distributed version control system that's responsible for everything GitHub
related that happens locally on your computer.Commonly used Git commands are given below.
git init - Initialize a local Git repository
git clone(URL) - Create a local copy of a remote repository
git status - To Check status
git add [file-name.txt] - Add a file to the staging area
git commit -m "[commit message]" - Commit changes
git push - Push changes to remote repository
git pull - Update local repository to the newest commit
git pull origin [branch name] - Pull changes from remote repository
BACK