Add: function to extract git work tree information