Hotfixing is pretty simple but moving commits between different branches can get a little hairy if you're not careful. The trouble we often experience usually results from not paying attention to which branch you're on when you create the commits.
The following steps outline a recommended approach which should reduce any confusion or potential for regression.
- Fetch all upstream updates from the remote (e.g. Github)
$ git fetch --all
$ git pull --all