Solves #4 by enabling HEAD as a working remote ref