rails new nameapp

bundle install

rails server

rails g controller mystroks

git clone url -b mybranch как клонировать определенную ветку git