Add feature https://github.com/jbox-web/redmine_git_hosting/issues/313
Fix https://github.com/jbox-web/redmine_git_hosting/issues/283