add a reference to commit