- git rm --cached -r . ---all the files removed from the git staging area
- git status -----to check the status
- touch .gitignore and then open .gitignore
- and then write which file and which txt you want to hide, for example, .DS_Store secrets.txt
- and the code git add . in the commind, the txt will be hidden
- git clone
- git branch nameforbranch
- after we creat branch, we will get 2 of branch, one is nameforbranch, another one is master. and we can change the branch if we are in the master branch part ----- git checkout nameforbranch
- git merge namefile