<?xml version="1.0" encoding="UTF-8"?>
<guide>
  <body>&lt;p&gt;This is pretty much the shorthand version of this blogpost: &lt;a href=&quot;http://kylecordes.com/2008/04/30/git-windows-go&quot;&gt;http://kylecordes.com/2008/04/30/git-windows-go&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Portuguese version available at: &lt;a href=&quot;http://blog.tinogomes.com/2008/05/11/instalando-e-usando-git-no-windows-xp/&quot;&gt;http://blog.tinogomes.com/2008/05/11/instalando-e-usando-git-no-windows-xp/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Another excellent and thorough resource is &lt;a href=&quot;http://nathanj.github.com/gitguide/&quot;&gt;An Illustrated Guide to Git on Windows&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Git for Windows Developers: &lt;a href=&quot;http://www.lostechies.com/blogs/jason_meridth/archive/2009/06/01/git-for-windows-developers-git-series-part-1.aspx&quot;&gt;http://www.lostechies.com/blogs/jason_meridth/archive/2009/06/01/git-for-windows-developers-git-series-part-1.aspx&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Git Installation&lt;/h2&gt;
&lt;p&gt;There are currently two ways to install Git in Windows. One way is to install it together with &lt;a href=&quot;http://www.cygwin.com/&quot;&gt;cygwin&lt;/a&gt; . But the easiest way is to install git with &lt;a href=&quot;http://code.google.com/p/msysgit/&quot;&gt;msysGit&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Installing git with msysGit&lt;/h3&gt;
&lt;p&gt;Download the latest installer from &lt;a href=&quot;http://code.google.com/p/msysgit/downloads/list&quot;&gt;Google code&lt;/a&gt; and run it. To avoid path conflicts, pick the &amp;#8220;Use Git Bash only&amp;#8221; setting during the installation.&lt;/p&gt;
&lt;h4&gt;using git from the cmd.exe prompt&lt;/h4&gt;
&lt;p&gt;I&amp;#8217;m not sure if this is a universal thing or not, but I will post my problems, and hopefully, they will help somebody. With msysgit, if you want to be able to run git from the command prompt, and thus use any git related software (EGit plugin for Eclipse, as an example), then you must do two things. First, you must select the &amp;#8220;Run Git from the Windows Command Prompt&amp;#8221; option, and second, you must use putty/plink/pageant for &lt;span class=&quot;caps&quot;&gt;SSH&lt;/span&gt;. then you should be able to connect to GitHub without problem&lt;/p&gt;
&lt;h3&gt;Creating your very own &lt;span class=&quot;caps&quot;&gt;SSH&lt;/span&gt;-key&lt;/h3&gt;
&lt;p&gt;In order to use git, you will need to generate a key.  To do this open Git Bash (from the start menu, quicklauncher or right click a directory and choose &amp;#8220;Git Bash Here&amp;#8221;.)  Type in the following: &lt;br /&gt;
&lt;pre class=&quot;console&quot;&gt;&lt;br /&gt;
&lt;code&gt;
$ ssh-keygen -C &quot;your@email.com&quot; -t rsa
&lt;/code&gt; &lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
Use your own email address of course.  Use the default file name (id_rsa) and provide a password. The generated key will be stored in your profile, e.g.: &lt;code&gt;C:\Documents and Settings\YourNameHere\.ssh\&lt;/code&gt; on XP or &lt;code&gt;C:\Users\YourNameHere\.ssh\&lt;/code&gt; on Vista.&lt;/p&gt;
&lt;h3&gt;Identify yourself to git&lt;/h3&gt;
&lt;p&gt;With the bash shell still opened type in the following: &lt;br /&gt;
&lt;pre class=&quot;console&quot;&gt;&lt;br /&gt;
&lt;code&gt;
$ git config --global user.name &quot;Your Name Here&quot;
$ git config --global user.email your@email.com
&lt;/code&gt; &lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
This will set the info stored when you commit to a git repository.&lt;/p&gt;
&lt;p&gt;Now that you&amp;#8217;ve set up git, you can find many more guides on how to use it in the &lt;a href=&quot;http://github.com/guides&quot;&gt;guide list&lt;/a&gt;&lt;/p&gt;</body>
  <created-at type="datetime">2008-04-15T21:03:09-07:00</created-at>
  <id type="integer">35</id>
  <permalink>using-git-and-github-for-the-windows-for-newbies</permalink>
  <title>Using Git and Github for the Windows for newbies</title>
  <updated-at type="datetime">2009-09-06T22:28:13-07:00</updated-at>
  <user-id type="integer">67798</user-id>
</guide>
