All technological notes.
| Command | Description |
|---|---|
git init |
Initialize a new Git repository |
git clone github_url |
Clone an existing repository |
git remote -v |
Show remotes (e.g., origin) |
git push |
Push changes to the remote repo |
git push -u origin branch_name |
Push and set upstream branch |
git pull |
Fetch and merge from remote |
git fetch |
Get updates from remote (no merge) |