Provide an option to enable directory specific history. The history filename has to be adjusted to account for $PWD. Since some characters have to be encoded (e.g. /) a hash of the $PWD could be used. For example, the path /home/xxx/dev/adhocsh can be encoded with MD5 as git-15c459cee1c51105b2b787d98dd90626.history.