Dont allow file edit for non-branches ref