At this point we have an end point that accepts a path to set a new
root. Logic to find the git root in the path is still be to added.