Tips to re-structure a project and clean up a git repository
- Create a backup of the project.
- Move binary files out of the repository (e.g. to the "Files" or "Documents" section).
- Remove binary and big files from git history, see below.
- Split the repository into new ones (hw, gw, tst and sw).
- Set sub-modules up in the new repositories (if any).
- Re-organise the folders (if needed) and update hard-coded paths.