1. Local
2. Remote
When we create new file, file will be in "working directory".
When we add "git add" file goes to staging area
When we commit "git commit" file goes to .git folder.
Local repo changes will be in remote repo by git push
It unstage the file means put back to working directory from staging area or undo git add
It undo the changes we have done or to discard changes in working directory
If fail to push or failed to push some refs to https://github.com/xyz.git
git checkout -b branchname
git checkout branchname
git checkout -d branchname
git branch -a
git branch
to make tree structured directories