title: Git: Any way to set default login credentials?
body: <p>I'm using terminal for mac and running the line</p>
  
  <pre><code>git push origin master
  </code></pre>
  
  <p>It asks me for my github.com username and password every time,<br>
  is there any way to have it automatically use my credentials?</p>
  
  <hr>
  
  <p>I keep getting the error</p>
  
  <pre><code>error: The requested URL returned error: 403 while accessing 
  https://github.com/atheycreek/churchdeploy.git/info/refs
  </code></pre>
  
  <hr>
  
  <pre><code>[remote "origin"]
      fetch = +refs/heads/*:refs/remotes/origin/*
      url = https://github.com/atheycreek/churchdeploy.git
  </code></pre>
  
  <p>So I changed it to </p>
  
  <pre><code>[remote "origin"]
      fetch = +refs/heads/*:refs/remotes/origin/*
      url = git:github.com/atheycreek/churchdeploy.git
  </code></pre>
  
  <p>now I get..</p>
  
  <pre><code>kirkstrobeck:churchdeploy kirkstrobeck$ git push origin master
  ssh: Could not resolve hostname git: nodename nor servname provided, or not known
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <hr>
  
  <p>I changed it to </p>
  
  <pre><code>[remote "origin"]
      fetch = +refs/heads/*:refs/remotes/origin/*
      url = git@github.com/atheycreek/churchdeploy.git
  </code></pre>
  
  <p>and now i get ..</p>
  
  <pre><code>kirkstrobeck:churchdeploy kirkstrobeck$ git push origin master
  fatal: 'git@github.com/atheycreek/churchdeploy.git' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  </code></pre>