For your first push with git, you may get following errors when you use github or bitbucket.
$ git push No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'. fatal: The remote end hung up unexpectedly Everything up-to-date
git push --set-upstream origin master