better way to get repository directory

and fix git build for use on windows
Notification with growl for windows
Merge pull request #2 from pmiossec/git_build_for_windows

Update script git-build for Windows