diff --git a/CHANGELOG.md b/CHANGELOG.md
index d6d6b47..555db55 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1191,7 +1191,7 @@ versions leading up to this release.*
[comb sequential uuids]: http://www.informit.com/articles/article.aspx?p=25862&seqNum=7
[paragonie/random_compat]: https://github.com/paragonie/random_compat
[collision issue]: https://github.com/ramsey/uuid/issues/80
-[contributor code of conduct]: https://github.com/ramsey/uuid/blob/master/.github/CODE_OF_CONDUCT.md
+[contributor code of conduct]: https://github.com/ramsey/uuid/blob/main/CODE_OF_CONDUCT.md
[pecl libsodium extension]: http://pecl.php.net/package/libsodium
[ircmaxell/random-lib]: https://github.com/ircmaxell/RandomLib
[doctrine field type]: http://doctrine-dbal.readthedocs.org/en/latest/reference/types.html
diff --git a/README.md b/README.md
index 050d8ff..97e81a5 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
-
+
@@ -74,10 +74,10 @@ licensed for use under the MIT License (MIT). Please see [LICENSE][] for more
information.
[rfc4122]: http://tools.ietf.org/html/rfc4122
-[conduct]: https://github.com/ramsey/uuid/blob/master/.github/CODE_OF_CONDUCT.md
+[conduct]: https://github.com/ramsey/uuid/blob/main/CODE_OF_CONDUCT.md
[javauuid]: http://docs.oracle.com/javase/6/docs/api/java/util/UUID.html
[pyuuid]: http://docs.python.org/3/library/uuid.html
[composer]: http://getcomposer.org/
-[contributing.md]: https://github.com/ramsey/uuid/blob/master/.github/CONTRIBUTING.md
-[security.md]: https://github.com/ramsey/uuid/blob/master/SECURITY.md
-[license]: https://github.com/ramsey/uuid/blob/master/LICENSE
+[contributing.md]: https://github.com/ramsey/uuid/blob/main/CONTRIBUTING.md
+[security.md]: https://github.com/ramsey/uuid/blob/main/SECURITY.md
+[license]: https://github.com/ramsey/uuid/blob/main/LICENSE
diff --git a/composer.json b/composer.json
index ead7d33..59872ac 100644
--- a/composer.json
+++ b/composer.json
@@ -53,7 +53,7 @@
},
"extra": {
"branch-alias": {
- "dev-master": "4.x-dev"
+ "dev-main": "4.x-dev"
},
"captainhook": {
"force-install": true
diff --git a/docs/customize.rst b/docs/customize.rst
index 76a61de..83afe41 100644
--- a/docs/customize.rst
+++ b/docs/customize.rst
@@ -47,10 +47,10 @@ Replace the Default Factory
out how, see :ref:`customize.factory`.
-.. _UuidFactory: https://github.com/ramsey/uuid/blob/master/src/UuidFactory.php
-.. _FeatureSet: https://github.com/ramsey/uuid/blob/master/src/FeatureSet.php
-.. _codec: https://github.com/ramsey/uuid/tree/master/src/Codec
-.. _builder: https://github.com/ramsey/uuid/tree/master/src/Builder
-.. _converter: https://github.com/ramsey/uuid/tree/master/src/Converter
-.. _provider: https://github.com/ramsey/uuid/tree/master/src/Provider
-.. _generator: https://github.com/ramsey/uuid/tree/master/src/Generator
+.. _UuidFactory: https://github.com/ramsey/uuid/blob/main/src/UuidFactory.php
+.. _FeatureSet: https://github.com/ramsey/uuid/blob/main/src/FeatureSet.php
+.. _codec: https://github.com/ramsey/uuid/tree/main/src/Codec
+.. _builder: https://github.com/ramsey/uuid/tree/main/src/Builder
+.. _converter: https://github.com/ramsey/uuid/tree/main/src/Converter
+.. _provider: https://github.com/ramsey/uuid/tree/main/src/Provider
+.. _generator: https://github.com/ramsey/uuid/tree/main/src/Generator