fixed return value to correctly display page after commands in git pull