Added .gitignore.
Added project files for MSVC 2012.
Fixed a small bug in the GetRelativeBranchDestination function.

http://www.codeproject.com/Messages/4058892/Small-Bug-Found.aspx