documentation, change mater branch to main
diff --git a/docs/samples.md b/docs/samples.md
index 2d97ca5..c11177b 100644
--- a/docs/samples.md
+++ b/docs/samples.md
@@ -1,7 +1,7 @@
 # Googletest Samples
 
 If you're like us, you'd like to look at
-[googletest samples.](https://github.com/google/googletest/tree/master/googletest/samples)
+[googletest samples.](https://github.com/google/googletest/tree/main/googletest/samples)
 The sample directory has a number of well-commented samples showing how to use a
 variety of googletest features.