Push dialog behavior changed to correct git push command

From branch is set to HEAD if (no branch)
HEAD ref is not expanded to refs/heads/HEAD
To branch is set to empty if (no branch)