---
type: source
title: "Basic Git Commands - URZ"
tags: [git, version-control, documentation]
related: [git, git-uni-greifswald-de, version-control-system]
created: 2026-07-01
updated: 2026-07-01
sources: ["output/rz_uni_greifswald_de_dienste_webdienste_versionskontrollsysteme_basisbefehle_git.md"]
---

# Basic Git Commands - URZ

This source provides a quick-reference guide for the basic operation of the `git` client within the infrastructure of the Universität Greifswald. It outlines the essential command sequence required for basic repository management and refers users to the official `git-scm.com` documentation for more detailed information.

## Key Technical Instructions

The guide specifies the following basic commands for interacting with the university's git server:

- **Cloning**: `git clone https://git.uni-greifswald.de/UID/REPOSITORY` (Creates a local copy of a remote repository).
- **Staging**: 
    - `git add DATEINAME` (Adds a specific file to the index).
    - `git add .` (Adds all changes in the current directory to the index).
- **Committing**: `git commit -m "Kommentar zum Versionsstand"` (Saves the staged changes locally with a descriptive message).
- **Pushing**: `git push origin main` (Uploads local commits to the remote server).
- **Pulling**: `git pull origin main` (Updates the local client with changes from the remote server).

## Support
Technical issues regarding this service are handled by the [[universitatsrechenzentrum-urz]] via the [[groupware]] ticket system or the URZ hotline (ext. 1420).