How to clean up a branch
- Current branch is features/unclean
- git checkout dev
- git checkout -b features/cleaned-up
- git merge --squash features/unclean
- Go to Git Extensions / git gui, and edit the staging (unstage whitespace differences and accidental changes etc)
- git push