don't name git branch as 'tag'

$ git push
fatal: The current branch tag has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin tag


$ git push --set-upstream origin tag
fatal: tag shorthand without <tag>

use this command instead
git push --set-upstream origin tag:tag

留言