Cell biology flash cards
Flash cards on cell structure, organelles, plant and animal cells, bacteria, diffusion, osmosis, active transport, mitosis and microscopy for school biology.
Flash card deck22 cardsBeginnerAnyone
Twenty-one flash cards on everyday Git commands: init, clone, add, commit, branch, merge, push, pull, stash and undoing changes, with what each one does.
Free to use, edit, print and study. No account needed: your set stays on this device.
Git
A version control system that records changes to files over time, so you can review history, work on branches and collaborate safely.
Repository (repo)
A project folder tracked by Git, including the full history of its changes.
git init
Creates a new, empty Git repository in the current folder.
git clone [url]
Copies an existing remote repository, with its full history, onto your computer.
git status
Shows which files have changed, which are staged for the next commit and which are not tracked.
git add [file]
Stages changes so they are included in the next commit. git add . stages every change in the current folder.
git commit -m '[message]'
Saves a snapshot of the staged changes with a message describing them.
Staging area
The middle step between your working files and the repository. You choose exactly what goes into each commit by staging it.
git log
Shows the commit history. git log --oneline gives a compact one-line-per-commit view.
git diff
Shows line-by-line changes that are not yet staged. git diff --staged shows changes that are staged.
Branch
An independent line of development. You can build a feature on a branch without affecting the main branch.
git branch
Lists branches. git branch [name] creates a new one.
git switch [branch]
Moves to another branch. git switch -c [name] creates a branch and switches to it. Older guides use git checkout for the same job.
git merge [branch]
Combines the history of another branch into the branch you are on.
Merge conflict
Happens when two branches change the same lines differently. Git marks the conflict in the file; you edit it, then add and commit to finish.
Remote
A version of the repository hosted elsewhere, such as on GitHub or GitLab. The default name is usually origin.
git fetch
Downloads new commits and branches from the remote without changing your own files or branch, so you can look at what changed before merging.
git push
Uploads your local commits to the remote repository.
git pull
Downloads changes from the remote and merges them into your current branch. It combines git fetch and git merge.
git stash
Puts uncommitted changes aside so you can switch tasks. git stash pop brings them back.
git restore [file]
Discards unstaged changes to a file, returning it to the last committed version. git restore --staged [file] unstages it instead.
.gitignore
A file listing files and folders Git should not track, such as passwords, build output or dependency folders.
This deck covers the Git commands you use every day, from creating and cloning a repository to staging, committing, branching, merging, pushing, pulling and undoing changes. It suits computing students, new developers, designers and writers who keep work in Git, and anyone starting on GitHub or GitLab. Square brackets show the parts you replace, such as a file name or branch. Study in Learn mode, then try each command in a practice repository. Switch to Test mode and let spaced repetition keep the commands at your fingertips, and print a double-sided copy to keep by your desk.
Updated October 28, 2026