Change gemspec to not rely on the presence of git and the git repository, making it compatible with specifying the git repository in a Gemfile, bundle package --all and subsequent deployment.
code formatting
updated the changelog [ci skip]