Piece o' cake
I've googled these commands too many times.
When setting up a new repo which you will want to deploy to
*.herokuapp.com, it's nice to set up a github remote and a heroku remote without having to click around a bunch. Here's how I go about it today:
First go to your github page and make/name a new repo. Then:
git add .
git commit -am "first firetrucking commit; this is all the juice you commit-message-reading rapscallion"
git remote add origin <url of new git repo> e.g., "https://github.com/username/reponame.git"
git push -u origin master
heroku git:remote -a <heroku-app-name>
This will work nicely if you have all the permissions/security figured out with github and heroku already. If you don't, you will undoubtedly choke on errors.
Should you encounter permission problems I refer you to: