public static File findRepo(File f) {
		if (f == null) {
			return null;
		}
		File testGit = new File(f, ".git");
		if (testGit.exists()) {
			return f;
		}
		return findRepo(f.getParentFile());
	}
Returns a file that is the repository folder containing the given file.  As an example,
given a repo structure of:

<p><code>/userdir/repoRoot/repoDir/.git</code><br>

<p>then this method, given will produce the following results (input -&gt; output):<br>

<p><code>/userdir/repoRoot/repoDir/.git -&gt; /userdir/repoRoot/repoDir</code>
<br><code>/userdir/repoRoot/repoDir -&gt; /userdir/repoRoot/repoDir</code>

@param f the child file of the desired repo
@return a file that is the repo folder of the repository containing the given file; null
        if the given file is not under a repo directory
Ghidra/Framework/Utility/src/main/java/utility/module/ModuleUtilities.java