Git Basics

Git Commands

Here are few commands , if you are a beginner!

Command --->Use Case

git init --->Creates an empty Git repository in the specified directory.

git clone ---> Clones a repository located at onto your local machine.

git add --->Stages only the specified changes for the next commit. Replace with a to change a specific file.

git status ---> List which files are staged unstaged and untracked.

git push origin master --->Push all of your commits to master branch.