pub async fn current_branch(path: impl AsRef<Path>) -> Result<String>
Get the current branch asynchronously.