title: clone a specific branch from git through ansible playbook
body: <p>I am using ansible to deploy my app. I am cloning the app from github using the following:</p>
  
  <pre><code>- name: Deploy site files from Github repository
    sudo: yes
    git: repo=git@github.com:xyz/abc.git dest=/home/{{deploy_user}}/{{app_name}} key_file=/home/ubuntu/.ssh/id_rsa accept_hostkey=yes force=yes
  </code></pre>
  
  <p>I want to clone a specific branch from the repository. I read the documentation of ansible but couldn't find any option to clone a specific branch. It has an option to clone a version but not branch.</p>