Revise the code for pullFromGit