Create a new branch
git branch develop
git checkout develop
Shorcut
git checkout -b develop
Push to remote repo
git push -u origin develop
git clone -b <branch> <remote_repo>
View branches in local repo
git branch
View both remote and local branches
git branch -a
git branch -d develop
Assuming origin/develop is the remote branch you want to reset to
git reset --hard origin/develop
git checkout otherbranch file.txt