I know this type of a question has a lot duplicates, but I wanted to open a new one because I didn\'t found in all of the other questions the explaination of the best way to do
Don't revert your changes, just go back to a previous commit and then checkout a new branch from there.
git checkout development
git checkout c14809fa
git checkout -b newBranch
This way you can visit the 'development' branch to see old changes and history and you can make further changes in 'newBranch'
You can rename the branches if you want the other way around using -
git branch -m