title: How do I push a new repo to a remote?
body: <p>Is it possible to "publish" a local repository to a github enterprise server when the repo does not exist yet on the server?</p>
  
  <h3>Clarification</h3>
  
  <p>There have been some answers about various ways to move a repository to GitHub that all start with "create a repository on GitHub". I was looking for a way to create the repository remotely (i.e. by <em>not</em> going to GitHub). The answer related to using the API was the sort of thing I was looking for conceptually. However, I was hoping a quick easy way to do this and it looks like just going out to GitHub is the best/most efficient method.</p>