- git --version
- git status
- git init
- git add .
- git add 'index.html' //add to staging area
- git reset 'index.html' //remove to staging area
- git commit -m 'my message'
- git push -u origin master //push to master branch
- git pull //if any update in remote repository
- git diff //any updation or remove ,we can show here
- git branch //all branch show that present in local
- git branch myNewBranch //create branch
- git branch -a //show all branch list ,remote as well as local
- git branch -D myNewBranch //delete branch
- git checkout branchName //switching branch
- git remote
- git remote -v //show url ,where fetch or push
- git log //all commit history
- git clone -b master repoName //cloning repository //Removing git repo
This is all about Git Controls method