Getting started with AWS CodeCommit
AWS CodeCommit is Github in a nutshell.
To create your repository, goto AWS Console and click on create repository.
Next, you need to go to IAM and generate your CodeCommit credentials as show in the diagram below :-
Go ahead, download credentials and clone your repository as you would normally do with Git.
I guess the interesting thing to do is the "Trigger". What' happens if you commit some code into this branch. You can create trigger to AWS SNS or AWS Lambda.