Gauge choice for the Yang-Mills equations using the Yang-Mills heat flow and local well-posedness in $H^{1}$