Fixed issues in git commit with username password auth
Added initial methods for git handling with popen and pexpect