If the hotfix is the only thing in master
that isn't in dev
you could simply merge master
into your dev
branch.
Otherwise, you'd probably want to just cherry pick that hotfix commit into your dev
branch. Assuming that the hotfix is the latest commit in master
you could just do:
git checkout dev
git cherry-pick master