Data · git-branch-graph
Git branch graph
A git history graph from commit data: dots appear in order along a time axis, branches take coloured lanes, edges draw on, a merge commit joins two lanes, tags flag a commit, a HEAD pill travels to the newest commit and a caption shows its message.
A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Git branch graph is for
Explaining branching and merging, release flow, pull-request workflows, version-control tutorials, "how our team ships" and developer-tool promos.
Details
- Category
- Animated charts & data visualisation
- Length
- 8.0 s (240 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
title- Colour props
colorsbackgroundinkaccent- Mood
- hud, editorial
- Roles
- subject
Use Git branch graph in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add git-branch-graph --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render git-branch-graph --props '{"title":"Branch, build, merge","colors":["#4C8DFF","#F5A524","#2EC4A6","#C77DFF","#FF6B8B","#8BD450"],"background":"#0C0F16","ink":"#EAEFF8","accent":"#FF5C7A"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export git-branch-graph --as webm-alpha --props '{"title":"Branch, build, merge","colors":["#4C8DFF","#F5A524","#2EC4A6","#C77DFF","#FF6B8B","#8BD450"],"background":"#0C0F16","ink":"#EAEFF8","accent":"#FF5C7A"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="git-branch-graph"
props={{
title: 'Branch, build, merge',
colors: ['#4C8DFF', '#F5A524', '#2EC4A6', '#C77DFF', '#FF6B8B', '#8BD450'],
background: '#0C0F16',
ink: '#EAEFF8',
accent: '#FF5C7A',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="git-branch-graph"
props='{"title":"Branch, build, merge","colors":["#4C8DFF","#F5A524","#2EC4A6","#C77DFF","#FF6B8B","#8BD450"],"background":"#0C0F16","ink":"#EAEFF8","accent":"#FF5C7A"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "git-branch-graph",
"props": {
"title": "Branch, build, merge",
"colors": [
"#4C8DFF",
"#F5A524",
"#2EC4A6",
"#C77DFF",
"#FF6B8B",
"#8BD450"
],
"background": "#0C0F16",
"ink": "#EAEFF8",
"accent": "#FF5C7A"
}
}
]
}Git branch graph props
12 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
commits | [{"id":"a1f3c9e","message":"Initial commit","branch":"main"},{"id":"b72d41a","message":… | commits oldest → newest [{id, message, branch, parents?: ids (default: previous commit on the same branch; list 2 ids for a merge), tag?}] |
colors | ["#4C8DFF","#F5A524","#2EC4A6","#C77DFF","#FF6B8B","#8BD450"] | lane colours, one per branch in order of first appearance |
title | "Branch, build, merge" | heading (empty = none) |
headLabel | "HEAD" | text of the pointer on the newest commit |
showMessages | true | show the newest commit message as a caption |
every | 15 | frames between commits |
speed | 1 | timing multiplier |
startAt | 0 | frame the graph starts |
background | "#0C0F16" | page colour or 'transparent' |
ink | "#EAEFF8" | text / HEAD colour |
accent | "#FF5C7A" | tag colour |
fontFamily | "" | monospace font override (empty = JetBrains Mono) |
Related motions

Deploy pipeline stages
DevOps / CI-CD explainers, "how we ship" and release-process videos, deployment tooling promos, incident stories (set one stage to fail).
deploy-pipeline-stages
Code diff highlight
Pull-request and code-review explainers, "what changed" beats, refactor / bug-fix walkthroughs, changelog and developer-tool promos,…
code-diff-highlight
JSON tree expand
API-response explainers, "what the data looks like" beats, structured-output / schema stories for AI, developer docs and tutorials,…
json-tree-expand
API request flow
Explaining how an API call works, backend architecture, REST / HTTP basics, error-handling stories (a 500 shakes the node), latency and…
api-request-flow
Flow diagram (packets on edges)
How-it-works explainers (APIs, AI agents, networks, payments), onboarding and architecture videos: pass `nodes` + `edges`; optionally…
flow-diagram
Heatmap calendar
Activity over a year: commits, workouts, streaks, sales days, habits, support tickets, website traffic by day. Pass values (one number per…
heatmap-calendar
Notes & credits
Technique sources:
- original (generic developer explainer)