title: Github action to copy specific folders from one branch to another in the same repo
body: <p>Is there a github action which allows me to copy specific folders (.eg. dist and static) from one branch to another in the same private repo. I appreciate any help.
  here is what was trying to get it to work using Copycat action.</p>
  <pre><code>
  name: Copying static files
  
  on:
    push:
      branches:
        - src # Set a branch name to trigger deployment
  
  
  jobs:
    copy:
      runs-on: ubuntu-latest
      steps:
      - name: Copycat
        uses: andstor/copycat-action@v3
        with:
          personal_token: ${{ secrets.PERSONAL_TOKEN }}
          src_path: static.
          dst_path: /static/
          dst_owner: CompanyX
          dst_repo_name: MyRepo
          dst_branch: dest
          src_branch: src
          src_wiki: false
          dst_wiki: false
      - name: Copycat2
        uses: andstor/copycat-action@v3
        with:
          personal_token: ${{ secrets.PERSONAL_TOKEN  }}
          src_path: dist.
          dst_path: /dist/
          dst_owner: CompanyX
          dst_repo_name: MyRepo
          dst_branch: des
          src_branch: src
          src_wiki: false
          dst_wiki: false
  
  </code></pre>
  <p>but I'm getting this error even though I have personal token setup in my profile.</p>
  <blockquote>
  <p>fatal: could not read Password for 'https://github.com': No such device or address</p>
  </blockquote>