The repository receive hooks now read Git's standard space-separated old object, new object, and reference fields. Valid pushes such as main are no longer rejected because the hook was looking for tab separators.
Git pushes accept their reference names
Repository hooks now parse the space-separated input Git sends for pushed references.