heroku login You will prompt to provide heroku credentials(Email and password), once you have authenticated you can access both heroku and git commands.