Merge pull request #1010 from ethomson/fetch_head create FETCH_HEAD specially instead of as a ref file