git branch -m onlylayer ol-testnet
git fetch origin
git branch -u ol-testnet ol-testnet
git remote set-head origin -agit add . # or add file one by one
git commit --amend --no-editgit commit --amend # And follow instructiongit branch new-branch // delete last commit from master branch
git reset HEAD~ --hard
git checkout new-branchgit reset HEAD~ --soft
git stash
git checkout true-your-branch
git stash pop
git add .
git commit -m "message here";git diff --staged