public void GetBranchTest()
{
GitFileStatusTracker.Init(tempFolder);
File.WriteAllLines(tempFile, lines);
GitFileStatusTracker tracker = new GitFileStatusTracker(tempFolder);
tracker.StageFile(tempFile);
Assert.AreEqual("master", tracker.CurrentBranch);
tracker.Commit("test message");
Assert.AreEqual("master", tracker.CurrentBranch);
tempFile = tempFile.Replace("test", "TEST");
File.WriteAllText(tempFile, "changed text");
tracker.CheckOutBranch("dev", true);
Assert.AreEqual("dev", tracker.CurrentBranch);
}