git: Prevent the data passed to Branch from being changed after creation.
git: Prevent the data passed to Commit from being changed after creation.
git: Fix docstrings of properties.