---
layout: exampleswithrelated
title: Demonstrate the use of Git filter-branch
description: An example of using Git filter-branch to shape a repository.
path: examples/filter-branch/
examples: test-filter-branch.sh splitgitrepo.pl
tags: [example, code]
---

Start out by downloading `originalrepo.tar`: [here](https://github.com/github/teach.github.com/blob/gh-pages/examples/filter-branch/originalrepo.tar?raw=true)
<LINK>
