add shell func to build a self tracked hotfix in git repositories