Git on Windows 

(I have updated this a bit more now that I have been using Git on Windows for a while. Git tastes better and is less filling. I like the branching model and the speed.)

So, don't install Git from cygwin. If you have you may want to uninstall it. I have.

I'm just starting to learn about this so this is pretty sparse. I got started on this when I completely munged my svn repo trying to upgrade my Drupal. I am going to see if Git really does taste better and is less filling.

Install msysgit from: http://code.google.com/p/msysgit/

This is a nix shell called mingw which adds a Git gui here and a Git bash here prompt to Explorer.

If you are using svn, get the svn repository:

Git svn clone http://blabla.com/svn/blabla/ blabla

For a standard svn repository with trunk, branches and tags you can use the –s stdlayout option of Git clone.

Git svn clone is equivalent to

Git svn init
Git svn fetch

(Not sure about the below anymore as I've switched msysgit):

If you are using Cygwin Git, it changes the execute bit: old mode 100755 new mode 100644. Git thinks everything has changes. To fix this:

cd to the repository directory and run:

Git repo-config core.fileMode false
Get rid of file mode changes:
Git reset --hard