Require a Git branch before running the sync command