git: fatal: $HOME not set

Go to Control Panel -> System -> Advanced -> Environment Variables -> New.

Variable name: HOME

Variable value: C:\Documents and Settings\your-username

Click OK, OK, OK.

Reopen your command prompt.

Advertisements