- Move folder to it’s own branch
git subtree split -P name-of-folder -b name-of-new-branch
- Initialize the new Repository
git checkout new-repository-urlgit pull path-to-big-repository name-of-new-branch
And that’s it, pretty much!
git subtree split -P name-of-folder -b name-of-new-branch
git checkout new-repository-urlgit pull path-to-big-repository name-of-new-branch
And that’s it, pretty much!


To my future self: this is how you can ‘burn’ an ISO file into a flashdrive, so that it’s bootable!
hdiutil convert -format UDRW -o destination.img kali-linux-2017.2-amd64.iso
diskutil list
diskutil partitionDisk /dev/disk2 1 "Free Space" "unused" "100%"
sudo dd if=destination.img.dmg of=/dev/disk2 bs=1m
diskutil eject /dev/disk2Find the device path:
diskutil listFormat as FAT32:
sudo diskutil eraseDisk FAT32 NAME MBRFormat /dev/disk2Thanks Apple, for having FAT32 as an option in the Disk Utility app. It’s so much nicer than having to remember a CLI command.</sarcasm>