how to apply patches from git ?