JGithubRefs::edit

Method to update a reference.