title: Authenticating SourceTree with a Google Code project
body: <p>I'm trying to use the latest version <a href="http://www.sourcetreeapp.com/" rel="nofollow noreferrer">SourceTree</a> with a Google Code project that uses Git. The problem is that when I try pushing the changes, it complains about authentication:</p>
  <blockquote>
  <p>git push -v --tags --set-upstream origin master:master<br />
  Pushing to [project]<br />
  fatal: remote error: Invalid username/password.<br />
  You may need to use your generated googlecode.com password; see   <a href="https://code.google.com/hosting/settings" rel="nofollow noreferrer">https://code.google.com/hosting/settings</a><br />
  Completed with errors, see above</p>
  </blockquote>
  <p>I can't see a place to enter in a password anywhere in the settings. I tried searching <a href="http://www.sourcetreeapp.com/support/" rel="nofollow noreferrer">Atlassain's knowledge base</a> and Google but I couldn't find anything relevant. The only clue comes from Google's project page which says:</p>
  <blockquote>
  <p><strong>Option 1</strong>: Get a local copy of the [project] repository with this command:<br />
  git clone [project]<br />
  To push your changes, authenticate with your Google Account and your generated googlecode.com password.<br />
  <strong>Option 2</strong>: Stay authenticated with .netrc:<br />
  Add the following to your .netrc.<br />
  machine code.google.com login [email] password [generated googlecode.com password]<br />
  Make sure the clone URL doesn't contain your username:
  git clone [url]</p>
  </blockquote>
  <p>There's also <a href="https://code.google.com/hosting/settings?" rel="nofollow noreferrer">another Google page</a> which says:</p>
  <blockquote>
  <p>For Git repositories, you can add the following line to your .netrc file recording your password for each repository domain you have commit access to. Make sure you have set the permissions on .netrc so that only your user account can read it.</p>
  <p>machine code.google.com login [email] password [password]</p>
  </blockquote>
  <p>This problem only started after I upgraded to the latest version of SourceTree. Is there any place in the GUI that I can enter in the authentication details? I believe that there was a GUI option in the old version, but I can't find it anymore. The only places I found that let you enter in something similar is in the Repository's advanced tab, or the General tab of the main preferences. However, in both instances, it only asks for an email address and not a password.</p>