Added S4 class reference to hold information of a git reference