Using git to write patches