improve git pull behaviour