Refactored Observer - added docblocks and improved appendGitInfoToFooter-method