I am using Git on Windows 7 and access my repositories through Git Bash. How can I change the default location that Git Bash opens in a convenient folder when I start it?
Add this line to your .bashrc file:
.bashrc
cd C:/xampp/htdocs/;
If the .bashrc file doesn't exist, create one in your root folder. For me it is: C:\Users\tapas\
C:\Users\tapas\
Save .bashrc and open Git Bash. That's it!