Extract git pull into separate script