pub fn branch(git: GitRepository, name: String) -> GitRef
pub fn commit(git: GitRepository, id: String) -> GitRef
pub fn head(git: GitRepository) -> GitRef
pub fn id(git: GitRepository) -> Promise(String)
pub fn ref(git: GitRepository, name: String) -> GitRef
pub fn tag(git: GitRepository, name: String) -> GitRef
pub fn tags(git: GitRepository) -> Array(String)
pub fn with_auth_header(
git: GitRepository,
header: Secret,
) -> GitRepository
pub fn with_auth_token(
git: GitRepository,
token: Secret,
) -> GitRepository