how to deploy my ruby on rails app with git in my ec2 instance?
===

I am new to **ruby on rails** and i would like to use **git** for my **future updates** on my **app** etc... the question is that there are so many tutorials that each one of them are different and that confuses me..
.

so, is it possible to **add** a **git server** in my **ec2 instance** and **manage it** from my **local machine** whenever i want to push new code and automatically be seen in the site?

if not any walkaround with this method?

any better method?