Improved documentation and added getting --max-history from git config