Implement createReference function

Done:

# Implement createReference which creates a new GitReference, create sample program
# Bump the version