Refactoring of git.js and jenkins.js
refactoring of git.js and jenkins.js - Added test for git.js and jenkins.js