t7300: add tests to document behavior of clean and nested git