Hi@akhtar,
You can get information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified references). Results can be limited to a specified path.
$ aws codecommit get-differences --repository-name MyDemoRepo --before-commit-specifier example --after-commit-specifier example1 --before-path tmp/example-folder --after-path tmp/renamed-folder