GitApp: Refactoring

* Remove unnecessary Content-Type setting.
* Replace getting query string with getting parameter.
* Remove unused Exception.
* Remove unnecessary debug logs.