Go to directory
Create a file, e.g. file.txt git add file.txt Add all new or changed files to the repository staging area (the period means all)
Commit all changes to the repository for later activities
Choose a name for the new branch (original branch is master), e.g. test git branch test List all branches (* appears next to current branch)
git checkout test Create a new branch and check-out files in one command
Or to force the delete:
Removes cache from a specific file so that it can be added to the .gitignore