[Git] Fix head downloads with specific options