18th April 2011
How to checkout Drupal 7 (or 6) via Git.
Developer
Since the migration from CVS to Git on Drupal.org, we've noticed that a few people are still having some trouble checking out a stable version of Drupal core, so, for those of you who aren't on the Acquia or Drush bandwagons, here you go! :)
git clone http://git.drupal.org/project/drupal.git target_directory
"target_directory" being the directory you wish to checkout to.
Once completed change to the target directory, then for Drupal 7.0:
git checkout -b local 7.0
Or if you'd like Drupal 6.20
git checkout -b local 6.20
That's it!