Create git pull method