Implementation for git pull.