diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 914e0741d..08aeddcfe 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -23,7 +23,7 @@ reported the issue. Please try to include as much information as you can. Detail
## Contributing via Pull Requests
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
-1. You are working against the latest source on the *master* branch.
+1. You are working against the latest source on the *main* branch.
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
diff --git a/source/include/ota_config_defaults.h b/source/include/ota_config_defaults.h
index b038b56eb..aa2b7b9e5 100644
--- a/source/include/ota_config_defaults.h
+++ b/source/include/ota_config_defaults.h
@@ -268,7 +268,7 @@
* wrapped in double parentheses to be ISO C89/C90 standard compliant. For a
* reference POSIX implementation of the logging macros, refer to the ota
* default config file, and the logging-stack in demos folder of the
- * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/master).
+ * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main).
*
* Default value: Error logging is turned off, and no code is generated
* for calls to the macro in the OTA library on compilation.
@@ -289,7 +289,7 @@
* wrapped in double parentheses to be ISO C89/C90 standard compliant. For a
* reference POSIX implementation of the logging macros, refer to the ota
* default config file, and the logging-stack in demos folder of the
- * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/master).
+ * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main).
*
* Default value: Warning logging is turned off, and no code is
* generated for calls to the macro in the OTA library on compilation.
@@ -310,7 +310,7 @@
* wrapped in double parentheses to be ISO C89/C90 standard compliant. For a
* reference POSIX implementation of the logging macros, refer to the ota
* default config file, and the logging-stack in demos folder of the
- * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/master).
+ * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main).
*
* Default value: Info logging is turned off, and no code is
* generated for calls to the macro in the OTA library on compilation.
@@ -331,7 +331,7 @@
* wrapped in double parentheses to be ISO C89/C90 standard compliant. For a
* reference POSIX implementation of the logging macros, refer to the ota
* default config file, and the logging-stack in demos folder of the
- * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/master).
+ * [AWS IoT Embedded C SDK repository](https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main).
*
* Default value: Debug logging is turned off, and no code is
* generated for calls to the macro in the OTA library on compilation.